<script>
	// import { version } from '@/components/z-paging/package.json'
	export default {
		mounted() {
			uni.onTabBarMidButtonTap(() => {
				this.$tools.goPageNoAuth('/clientEnd/page/design/publishWorks')
			})
		},
		onReady() {

		},
		onLaunch() {
			let that = this;
			let jlFlag = true
			if (!jlFlag) return
			jlFlag = false
			setTimeout(() => {
				uni.onTabBarMidButtonTap(() => {
					this.$tools.goPage('/pages/person/anniu')
				})
				jlFlag = true
			}, 1000)
			let vueVersion = 'vue2';
			// #ifdef APP-PLUS
			plus.screen.lockOrientation("portrait-primary");
			// #endif

			// #ifndef APP-PLUS
			// #endif

		},
		onShow: function() {
			uni.setTabBarBadge({ //显示数字
				index: 2,
				text: '1'
			})
			// uni.vibrateShort({
			// 	success: function () {
			// 		console.log('success');
			// 	}
			// });
			// tabBar标签-发布动态

		},

		onHide: function() {

		},
		methods: {

		}
	}
</script>

<style lang="scss">
	/* #ifndef APP-PLUS-NVUE */
	@import "@/uni_modules/uview-ui/index.scss";
	/*每个页面公共css */
	@import "colorui/main.css";
	@import "colorui/icon.css";

	.themeColor {
		color: '#FECA00'
	}

	.themBackColorShade {
		background: #FECA00;
	}

	.themBackColor {
		background: #492D22;
		color: #FFFFFF;
	}

	.themBorderColor {
		border: 2px solid #FECA00;
		color: #FECA00;
		background-color: #f7f7f7;
	}

	.top-title:after {
		width: 140%;
		height: 280rpx;
		position: absolute;
		left: -20%;
		top: 0;
		z-index: -1;
		content: '';
		border-radius: 0 0 50% 50%;
		background-color: #FECA00;
	}

	.logo-title {
		font-size: 38rpx;
		color: #111111;
		text-align: center;
		margin-right: 45rpx;
	}

	.tuck {
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.tuck-line {
		word-wrap: break-word
	}

	uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked {
		background-color: #FFCC33;
	}

	uni-checkbox:not([disabled]) .uni-checkbox-input:hover {
		border: 1px solid #FFCC33;
	}

	uni-page-head {
		display: none;
	}

	[type="search"]::-webkit-search-decoration {
		display: none;
	}

	/* #endif */
</style>
